package com.demo3;

/**
 * Created by Administrator on 2017/3/25.
 */
public class ShuZu6 {
    public static void main(String[] args) {
        int[] array1 = {1, 2, 3, 4, 5};
        int[] array2 = {10, 20, 30, 40, 50, 60, 70, 80, 90};
        System.arraycopy(array1, 0, array2, 2, 5);
        for (int i = 0; i < 9; i++)
            System.out.print(array2[i] + " ");
    }
}
